package com.neutech.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface PtestMapper {
    //    数据库操作层 一次一个方法，一个SQL语句
    //public Integer addPtest(Map<String,Object> map);

    public  List<Map<String,Object>> queryPtestByName(String name);

    public void addPtest(Map<String,Object> map);
//public List<Map<String,Object>> queryMenuByName(String name);
    public  List<Map<String,Object>> queryTestByName(String name);
    public void delptestBynum(Integer num);
    public  List<Map<String,Object>> queryPtestByIdnumber(Integer id);
}
